package com.molichuxing.services.infrastructure.dao;

import java.time.LocalDateTime;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.molichuxing.framework.dao.RootMapper;
import com.molichuxing.services.infrastructure.bean.CreditRecognitionBean;

public interface CreditRecognitionMapper extends RootMapper<CreditRecognitionBean>{

	/**
	 * 获取验证结果
	 * @param userId
	 * @param verifyTime
	 * @return
	 */
	List<CreditRecognitionBean> getVerifyResult(@Param("userId") Integer userId,@Param("verifyTime") LocalDateTime verifyTime);

	/**
	 * 根据用户id查询用户征信信息
	 * @param userId
	 * @return
	 */
	List<CreditRecognitionBean> getListByUserId(@Param("userId") Integer userId);
  
}